#pragma once
#include "SGD Wrappers/SGD_Handle.h"
#include "SGD Wrappers/SGD_Color.h"
#include "SGD Wrappers/SGD_Geometry.h"

class Font
{
private:
	SGD::HTexture	m_hImage = SGD::INVALID_HANDLE;
	
	int m_nCharWidth = 0;
	int m_nCharHeight = 0;
	int m_nNumRows = 0;
	int m_nNumCols = 0;

	char m_cFirstChar = '\0';
	bool m_bOnlyUppercase = false;

public:
	Font() = default;
	~Font() = default;
	void Initialize(void);
	void Terminate(void);

	void Draw(const char* output, SGD::Point position,
		float scale, SGD::Color color) const;	
};

